#include<iostream>
#include<cstdio>
using namespace std;
const int N = 1e6 + 10;
int n;
int a[N];
int main()
{
	cin >> n;
	for (int i = 1; i <= n; i++) {
		scanf("%d", &a[i]);
	}
	int ans = 0;
	int sum = 0;
	for (int i = 1; i <= n; i++) {
		if (a[i] < a[i + 1]) {
			sum++;
		}
		else {
			ans = max(ans, sum);
			sum = 0;
		}
	}
	cout << ans + 1<< endl;
	return 0;
}